allow for not queries to work with either strings or numbers