Fixes issue with ensuring the correct section is assigned to each menu item