Fix scenario where currencies hash had strings as keys