Merge exact matching and excluded types