The default for pr and pw is zero, which doesn't pass this validation. So, for example, getting the default properties and setting them again, maybe with a modification, will fail. I'm not sure why it's zero. The code seems to make sure that zero is never used I believe.

Maybe @Vagabond or @jrwest know the answer?