Scala Collector: Remove '?' from the query string.