TestBox-96 Fixed query comparison bug