Add protection for not finding any interesting filters for a path

Occurs at least in some Cosmic workflows.