Ensure integers for currencyIds and compare appropriately selectedCoin