adjust to qb refactoring

this query that is triggered in a batch deletion operation was overlooked when adjusting to the qb refacoring.

fix #190