make 'query' key optional on inspetor Model

I'm not sure if this is the right way to fix this.
However, 'query' key seems to be optional as the only time it's used it is merged with a default config (line 45 of the same file).
Moreover, everything else seems to work when using an empty array (listing models and filtering the appdesk).