Corrected name selector so that it doesn't accidentally select names in other locations