fix sectionpage url

This was broken for sectionpages which were not on the top level