Fix unfair mutex queuing to fix the broken testcase.