Changed `to_a` to `all` in None Paginator

`to_a` throws undefined method. Hence used `all` instead.