Handle view arguments correctly in paginator