Adding lt/lte/gt/gte to query