Use URL helper to generate query parameters instead of manual method.