Fixed the list comprehension so there is no need to use the Eq typeconstrain