Refactored all IPv6 address comparisons