title: max_num_pages returning number of posts instead of number of pages
body: <p>I am using the PBD Load Next Post plugin and it's working great, but I can't figure out why the max_num_pages is returning 44 (number of posts in that category) instead of 4 (number of pages it should be). Here are all the codes that should be relevant: </p>
  
  <p><a href="http://pastebin.com/ezAbD2eH" rel="nofollow">http://pastebin.com/ezAbD2eH</a></p>
  
  <p>Here is the page that it is running on: garthreckers(dot)com/category/united-states/ (sorry, not enough rep to post another full link)</p>
  
  <p>It's also running on the Europe page but its returning 20 over there (number of posts again).</p>
  
  <p>Also, the if(mobile...) is from the mooble plugin if that makes a difference. I have tried stripping out the code for that and deactivating and it still doesnt work. </p>
  
  <p>Any help will be great since I have been trying to fix this problem for 3 days now with no success.</p>