TranslationId checks modification

This improvement will help to avoid exceptions on trimming.