[Bug 6876] Off-by-one in character limit for edit field