Backend: fixed pagination (identical to frontend)