+Fixed an index out of bounds exception when removing a value being edited and then adding a new value.
Authored by: danmitch 2011-12-28
Parent: [r1067]
Child: [r1069]