Bugfix: links count bigger than the total page count.