fixing loss of version when paging or using back button in search