Fix team lookup for match edits

The UI code for editing an existing match didn't have the correct class
for team lookups. Now fixed.