DO NOT MERGE: fixes #3848: Matcher value for smart variables against array