@ifpath:else seems not work

@ifpath:coll://(Duplicate Files|重复文件)
Select DUPES
@ifpath:else
Select ADVANCED

when not in the path "coll://Duplicate Files", the botton is disabled.
How to make "Select ADVANCED" work?

Add @enableif:=true to make it always enabled

@enableif:=true
@ifpath:coll://(Duplicate Files|重复文件)
Select DUPES
@ifpath:else
Select ADVANCED

@ifpath is the culprit here. Use the Evaluator instead.

Select {=RegExS(source, "coll://Dup") ? "DUPES" : "ADVANCED"=}

I see.
It is "Select DUPES" result in the button being disabled in non "coll://Duplicate Files" path.
It's not @ifpath: problem.

Another solution: put "Select ADVANCED" first.

@ifpath:!coll://(Duplicate Files|重复文件)
Select ADVANCED
@ifpath:else
Select DUPES