Less or equal comparator for number of queries