fixed validation bug with included patterns: it was always validating all before