Fix rogue comparison