Avoid reset of selected value in filter upon initial page load. Fixes #5040.
Merge branch 'index'