[CDF-369]: Dashboards.getQueryParameter does not correctly match the url query parameters

@pamval please review