Fixing issue #48 where the backend was improperly casting string integers.