Be more strict with CRUDPlugin query filters
https://github.com/freenas/freenas/pull/1439/commits/bacf78797f4d8ad4c2e3466915799dc15d82dc65 I think we should be more strict with CRUDPlugin query filters. It's not the first time I see bug like this
The risk is low since its an internal API and just making sure the arguments are correct
After this is done an error should be raised when calling query filters with wrong parameters:
e.g. midclt call user.query '["username", "=", "root"]'