Fix project saves where old data was left at the end if project has shru...

...nk in size