Fixed - empty tab was showing when not needed.