Fixed mistake of changing arrQuery