Remove unnecessary patchRecord