Fix #90: Could not select tab when tab name is empty.