Do not attempt to compare elements that mismatch on type.