Fixed bug with First page and last page. Only one appears with the correct link. The other pages appear with the default link
Merge pull request #12 from bastiao/master

Bug in pagination (first and last links)