Fixed issues in fewestCoins.