Bugfix. When the "search directories recursively" box is not checked, it doesn't.