allowing a value of 0 in like and query types