Ensure deleted alternative currencies are removed when saving.
Fix saving of product quantity discount rates.