Fix issue #8801.
Fix issue #8801.

When opening the query pane, do not try to focus on a query tab that no
longer exists.

coq/coq,ejgallego/coq,ppedrot/coq,maximedenes/coq,maximedenes/coq,ejgallego/coq,Matafou/coq,SkySkimmer/coq,silene/coq,SkySkimmer/coq,maximedenes/coq,ejgallego/coq,JasonGross/coq,gares/coq,gares/coq,coq/coq,ppedrot/coq,JasonGross/coq,ppedrot/coq,Matafou/coq,coq/coq,maximedenes/coq,JasonGross/coq,JasonGross/coq,coq/coq,gares/coq,gares/coq,silene/coq,ejgallego/coq,ppedrot/coq,SkySkimmer/coq,Zimmi48/coq,gares/coq,Zimmi48/coq,maximedenes/coq,Zimmi48/coq,Zimmi48/coq,silene/coq,Matafou/coq,SkySkimmer/coq,ppedrot/coq