Fix URI != operator bug