Circular dependency validation