Validate parent programme not being a subprogramme