Fixes softdelete issue