Fixed to use InputComponents.getItemLabelConverter instead of calling
toString directly