I also often need to find sequences of commands.
The workspace filter mode tends to work just fine for that purpose, cf. Excluding hosts - #2 by OliverS
You may also want to display the directory in the main search ui:
[ui]
#columns = ["duration", "time", "host", "user", "directory", "command"]
columns = ["duration", "time", { type = "directory", width = 35 }, "command"]