GCP-7476 fix select2 when deleting variable