enable proper int/long filters for new api

Was dropping the existing filter, replaced with simple min/max in
annotation