Recoded rejection logic.