Fixed moving to next profile if Windows line endings are used in the data file