Bugfix: tab name isn't updated with the query name