Fixed, that "Delete by Query" API takes an optional :type argument

As specified in the documentation.

Closes #12