Fixed query didn't cast value before comparing
0.1.6 release