Ensure that wiki page's parent id is not equal to its own id