[fixup] fix incorrect return value in GetSelectedItem()