Pre-merge clearing for automerge