Fixed some errors with profile_name validation regex in the last commit