Fixed pagination.
Fixed href attribute.
Merge pull request #5 from dloranc/pagination-issue

Fixed pagination.