patch from Eric Ladner to correct an out of bounds on the formula string http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10735 PR: Obtained from: Submitted by: Reviewed by: