fix rh registration type logic
Merge pull request #422 from mattymo/777-fixreg

fix rh registration type logic