Partial fix issue 3789 - Structs members that require non-bitwise comparison not correctly compared