fix handling of multi-valued query params: