Fixed a bug that paginates_per does not work with subclasses on mongoid

I fixed about issue below.
https://github.com/amatsuda/kaminari/issues/567

thx.