Adding user filter – Not updating data in URL

So I found the solution to my problem.

It is because WordPress inserts the dropdown both at the top of the list of users and on the bottom. So when i submit the form, it is the dropdown at the bottom of the page that is being used in the GET and overwriting the one at the top.
To solve this issue I just removed the bottom dropdown with a line of javascript that looks like this.

document.getElementsByClassName("companyDropdown")[1].innerHTML = "";

And then wrapped the dropdown in a div with the class companyDropdown.