Fix constructor comparison