Fixed the input check on addmoney.