Fixed a bug with deleted files.