set env to null when ALL tab selected
add/remove env, svc and status from query