Deals with possible nil values for links and pagination
Merge pull request #60 from Clubjudge/nil-pagination-links

Deals with possible nil values for links and pagination