fixing key selection in multi select tree