Fix navigation history so it doesn't push new history when clicking on the active pill