Fix when.all case where same rejection appears twice