Yes I have that exactly the way you are showing...
I found this thread:
Auction Closed issue
which says that they have the same problem and they solved it by turning ">" to "<"
but you have probably changed this in your script and I have it the way it works for them. I have tried to turn it back to ">" and now it works
STRANGE isn't it?
Please advise - is this something that will come back to me again as new bug? what is the cause?
Now it works ok, but I have another problem with bids (but i will ad new thread for this).