Fix rpMasterKey validator. Fixes #264