Guy below, even though he was well intended, did not know what he was doing. The "bug fix" he posted basically hard codes the status to the status wording. Prior to that it pulled the order status 1 2 3 from the orders table and compared it to this piece of code:
if (($orders_status == '1') OR ($orders_status == '2') ) {

Do not use the version below use version 2.5h. I'll post a new version later today with the fix and with some other fixes.

More...