Error in converting comprehension from Coffee