Added some error checking and fixing to the MARC XML that is uploaded to the Edit Item page to accommodate various forms of MARC XML that we might get.