Fixed issue #526

Used the simple .to_s fix and it worked.