fixed Variant and Pattern matching sample; it was about comparing array elements by reference, not by structure;