Fix auto tab selection when request is auto-refresh.