Use a LIKE test instead of equality

[SeeRM #7989]