Fix for notes (was showing @type objectID) and stripping blank mods:name elements