Fixed a bug related to tariff selection.