Fixed id validator for dependsOn within groups