https://github.com/amatsuda/kaminari/issues/351