Fixes #17870 - Empty boolean matcher should not turn into false
(cherry picked from commit d836a8383f1188f23b6ffbffa1a8fbbf52bef139)
Fixes #17870 - Empty boolean matcher should not turn into false
(cherry picked from commit d836a8383f1188f23b6ffbffa1a8fbbf52bef139)