Added support for Kaminari pagination plus fix for double per_page params