Fixed a bug where new file retention broke projects.