Fix possible issue where unintended files were ignored.