Fix compare statements.