Fixed calculation of page menu item show order