Fix bug if no page sections are present