Catch core data exception in mergeHelper.