get soft delete working properly