Fixes a bug that was stopping the toggle text for milestone changing filtering by a milestone.
This only affects 9.0 as 9.1 will have a new filter bar without this issue.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/30089