make 'query' key optional on inspetor Model