Generally I advise against embedding comprehensions within one another, if you have to do that you should probably break it out into a loop and manually collect the results.  It's longer and uglier, but double embedded comprehensions can be hard to grok and maintain.