fix for closing graph panels when switching indexed sequence