Passed softCommit as parameter to delete_by_query in the proper way