fFix resetselection to reset the last selected row in case of multiselect.