If a value was nil previously the valuesByField dictionary was being left without that key. Thise code now explicitly inserts in an optional as a value.
If a value was nil previously the valuesByField dictionary was being left without that key. Thise code now explicitly inserts in an optional as a value.