Fixed problem where changing between sections resulted in empty pages.