Fixed "ITEM_FLAG_SELECTONEMPTY" flag