fix to getting fields from
fixes- multiplicity was being written incorrectly
fix delete bug, improve null handling
introduce consistency around NULL case