Strip edge whitespace from judge names list for filter