Support integer values for queries