Optimization pagination (remove first-page duplicate link)