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

Correction of #4888 and #4887 introduced a regression by preventing the
use of methods (e.g. "::getDate()") and parameters (e.g. "?FOO") in
DetailSearch's conditions.