Fix QueryParam resolver