fix(DetailSearch): Allow use of methods and parameters in conditions (closes #5200)