105491: Switched update of vertical flag and setting the item set to avoid infinite recursion.