Added missing OrderTupleQueryResult if