Fix paginate 404 fails