Sometimes (usually as a result of a trigger that is not runing correctly) SOP transaction don't move smoothly from the open to the history tables.
Here's a script to fix that.