Function getItemCount() (in class GuiComboBox) does not return the exact number of items in a combo box.