Fixed bug #55436: findRootPageId: Infinite Loop in case of circular redirect