Check consistency of private keys