EitherAsPair, and a bug fix to make it work