fixing bug with pagination. fixing bug with navigation links on most recent page.