fix(menu): check if menu items exist before redordering them

Makes sure that the page menu in admin context has not been modified before trying to prepare it for viewing

Fixes #6379