Ooof... not sure how that happened. Change it to intval (instead of "intvar").
Also I've heard that the issue hadn't gotten fixed yet where the balance is not being properly checked. It's something I'll be looking into this weekend... but that change should fix it for the time being. I think.