title: will_paginate and acts_as_indexed produces odd pagination results
body: <p>I'm implementing a search function by using acts_as_indexed along with will_paginate. I'm using Ruby 1.8.7 and Rails 2.3.11. No, I cannot upgrade Ruby as I'm using a shared host.</p>
  
  <p>Regular use of the 'paginate' method yields expected results, however when using 'paginate_search' (acts_as_indexed pagination method), I get weird results:</p>
  
  <p>-The wines are all retrieved from the database (I looked at the log and the query looks good)<br>
  -It's the pagination that screws up, yielding inconsistent 'per-page' results</p>
  
  <p>Assuming a search result of 3 objects:</p>
  
  <p>Set per-page to 1, get 18 pages all without results except for pages 4, 12 and 18<br>
  Set per-page to 2, get 9 pages all without results except for pages 2, 6 and 9 (see a pattern here?)<br>
  Set per-page to 3, get 6 pages all without results except for pages 2, 4 and 6<br>
  - All of the above patterns yield 1 result per result page</p>
  
  <p>So on and so forth...it seems there's some funky math going on but I don't know where or why.</p>