correcting issue with soft deletes