Ensure value equality is used everywhere it should be