Greater than comparisson does not work when comparing with a field