Fixed deleting pages, their children and corresponding entries
Minor edit