Fix validation in account settings