Rcparam validation fix

Fixes an imaginary bug, a real bug, and a bug discovered while fixing the real bug.

This should get tests before it gets merged.
I don't think the comment is necessary, but a test would be very welcome.