Yes, normaly not used types should be set to invalid in a clean implementation, here we in TVec we set invalid to 0 (zero). But this pull should not solve design bugs, it should only fix convertion.