* Fix double discount

* Fixed a rare bug that could occur when the new version of the app
(2.11) in combination with the old server version (3.01) doubled
discounts.