Updated format of error string in check_population