Fixing inaccurate matching of files to skip in interactive mode.