Only compare principals for mixed principal case.

Fixes failing test caused by pull #415. Add test coverage to verify mixed
principal failure case.