Not sure if it is the case, but if there are different flows and multithreading, you have no insurance as to the order in which the flows are processed
You can set autofp-scheduler to ippair if these 2 flows are between the same ip (or runmode=single)