Checks for wrong private keys