add_restrictions: conditionally skipping soft_delete

skipping soft_delete condition when called from delete (so that we can
pass unit tests)