Remove query string parameters for xhr urls in KPI. Fixes #3008