Change exclude == yes to exclude == true because a boolean makes more sense here.