Fixed a bug when editing tiers