Fix session handling if selectedModel is empty