Making sure that we throw if users try to do a range query on a numeric id