Fixed huge problem where adding a record returned the record itself if required, but without _children
It now works out multiple subrecords as well as lookups when inserting, as sub-record may already exist at this time