Fix check on validating accounts.