Changed for loop in visible_page_number_links()