fix(ddLib): handle `ddLib.beginSearch` without custom directives