Fix syntax error in Paginator