The problem can be caused by various things. I doubt if all of them have been fixed. I wrote my Check Last Post Data addon as a workaround. It's an easy way to fix this problem and some others if they occur, without having to use MySQL queries.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.