In reply to Reuben:
The example you posted shows that you are re-using the same exp_tr handle. You need to make sure that you don’t re-use the same handles since the objects may be stored in a fifo and the comparison may occur at some later time. Use the clone() method or create new objects.