Fixed a bug with the links display when there is one section and no links