Using list comprehensions for that was a bad idea.