Fix bug that in match edit

Ensure that the code which sets the level control handles the select
correctly.