Fix tuple comparisons creating garbage