Fix bug in exclusions