Fix redisplay issues with tag searching