Fix profile validation broken after last commit