Added line of code to make sure query for the user's profile name
returned at least one result.