Implement LogicalEqual (hack)