Fix silly bug in my work from last night.  Unmapped tid is -1 not 0.  Add test to confirm this.