[gh-477] In unl_query_alter(), check to see if a query is using the pager before calling limit()
Merge pull request #478 from tsteiner2/issue-477

Closes [gh-477]