Fix: compare values instead of addresses.