NERDERY PATCH: Added checks to Better Pagination link generation to reta...

...in GET parameters for first page links