We check for the first unhidden route, so the order needs to match the order on the sidebar. This is now fixed.