Fixes Invalid ratio error when ratio is not set for transmission

I would also recommend undoing 7673cd5cc9d8e797a5b83cf956ede4eaae3deb7e for the time being
as some of the client scripts have code dependent on the input being a string.