Fix issue with objects being removed from table when they were not actually deleted, now displays error message