Prevent unecessary update of record when loading XML

review3021003