Fixes failing comparisons between struct and struct.init values.