QA-6271: displayInMenu property on pages cause issue with reference resolving nodes, use the name of the menus instead like the for the templates