Fix for handling accessor sets on array elements.

Previously: Filters like mutate would throw an exception when attempting
to convert an element within an array to a specific type. This was
raising an error because the index in the field reference was being
treated as a String instead of an integer representing the index of the
field to convert.

Now: Plugins like Mutate can access and convert elements within arrays
to specific types, or, updating their values.
Merge pull request #2051 from talevy/fix/1401

Fix for handling accessor sets on array elements.
fix removing field with reference to array items & specs

Fixes #1990