Fixes crash when saving linear object collection with "blank" linear objects to file.