Fixed erroneous call to parse in OnSelect.