All the less than/greater than less than/equal less than/greater than queries work