Fix for deletion in CRUD trait.