Added whereAll to parseQuery