Query is now nested in a 'query' key, required since 1.0.0.RC1
Merge pull request #561 from rayward/fix-delete-by-query

Fix Type->deleteByQuery() not working with query objects