Fix a minor bug in query builder title display.