Minor fix for map legend OR handling

Now it works!