Adding a bug fix for the case when a URL has multiple instances of the same parameter