Correct behaviour on transitioning query params