without that patch, it raised an exception if the page had no children when rendering the nav tag