Remove merged documents