Fixing documentation to match API

The deleteByQuery expects the DSL style to be wrapped in a `query`
object. Also fixed the example to match the actual API.