Bug 884229 - Detect cyclic references in indexes