Fix delete by query
Merge pull request #117 from stringbean/fix-delete-query

Fix delete by query