add some null checks to TECivic to fix a reported crash.  (where it
crashes should technically not be possible..but whatever)