I'm not sure if this issue is really a bug, but I don't understand the reason for it:
I have file located in the following path:
d:\temp\example\folder1\folder2\file.txt
Now go to d:\temp\ and press ALT-F7, select Plugins-tab.
Enter
tc - path - contains - "example\folder1"
tc - directory - = - Yes
=> Start search
=> 1 directory found "d:\temp\example\folder1\folder2"
OK

Now enter
tc - path - contains - "example\folder1\folder2"
tc - directory - = - Yes
=> Start search
=> "no files found"

The directory is not found, if it is the last one in the current tree. Why?