fix #4411: prevent duplicate chunks from merging