When updating multiple currencies only the last one is updated

This fix will prevent incorrect behavior.
Merge branch 'Xobb-patch-2'