Fix typo in exclusion code