Better managing of filters when going back/forward