Fix a bug that occurs when pattern matching is used and an exact matching group name becomes empty, but remains an entry that shadows the pattern matching group entry.