fixes a regression when compiling comprehensions