Fix in the comparison of the types classes