Seems to be a known bug in the YaBB2.1 software.
It is on the list of things to correct, but it is a very time-consuming process to find a bug like this amongst all the calculations that scripting software does.
It is on their bug list, and will be debugged at some point.
When it is, I will sort it out!
For now, just GO TO BED