#141637: add back menu_rebuild() to allow for clean URL check, and document the need for both menu_rebuild() calls, so we will not make this mistake in the future