Fix strict error in SearchHelper

Using union for associative conditions (OR)