Support for integer queries