Comparison of constructors

It was not returning correctly