Fix comparison between string and integer in Transaction#refund!

Transaction#amount is a string and so it can't be properly compared
to an integer.