Fix QL_REQUIRE performance issue - Thx GarnikA and Francois Botha