Don't add the same tabs twice (PY-21270)