bug in wasDeleted(); removing usage when an exception occurs