Automator - 'Filter finder items' working really slowly
I've created an app that goes through my Pictures-folder, picks PDF:s and moves them to another folder. This has been working fine, but few times now the app has mysteriously broken and I have been forced to make some changes. This happened again few days ago and now I'm trying to tweak the app to get it working again.
I have a couple of problems with different approaches:
1. 'Find Finder Items' (from Pictures-folder) that are PDF -> has worked before, but now includes subfolders and I don't want that
2. 'Get Specific Finder Items' to chose the Pictures-folder -> 'Get Folder Contents' (ignoring subfolders) -> 'Find Finder Items' that are PDF -> still includes PDF:s from all subfolders
3. 'Get Specific Finder Items' to chose the Pictures-folder -> 'Filter Finder Items' that are PDF -> works as intended, but lasts close to half a minute although 'Get Specific Finder Items' gives only 20 items to filter from
What am I doing wrong? Is 'Filter Finder Items' really that slow?