Pages module: fix tree navigation