Change delete call to use the query syntax

(DSL syntax fails for us at the moment)