Fix errorField in UserRegistrationDateCondition

Close #1851
Fix typo in UserStateCondition