Fixed bug: calling page.parent on '/' would cause infinite loop