fixes duplicate array key in add_roles
fixes duplicate array key in currencies
Merge pull request #1303 from pdewouters/fix-dup-array-keys

Fix duplicate array keys in several places