Fixed crash when people group name was not found.

If the query returned nothing, the program tried to fill in information
that wasn't there.