WINDUP-171 TYPE_PROP

I'm not talking about that... you subtracted 1 when I believe that you meant to subtract 2 in the deleteCharAt call. :)