Fix pattern-matching issue for multiple changes.