Fixed CRUD delete errors