delete_by_query: rewrite spec for better readability