pager_query() peculiarities
I'd been banging my head against this for a while now and finally dug around in includes/pager.inc to figure out what was going on...
The situation;
I had a query and while pager_query() returned the correct results theme('pager') always returned way too many pages.