Change delete if to reject