Fix for can't convert Bignum into String

Honestly, I don't know what recently changed to start causing this error. Everything had been working fine for months. The fix is fairly simple.