Set .limit to perPage