fixed bug with valuesAreExactlyEqual and comparing single-element array