Fix negative numbers and hopefully using large numbers to crash server. :(