Fixed batch action in case of deleteAll