typed dict comprehension bugfix