Fix bug opening class selection form.