Fixed some registration validation issues.