Refactored InvalidFolderNameFilter to only check folder names