if (acEntries[i].to === null && i === acEntries.length && accountCollection._id !== acEntries[i]._id) {
                    next(new Error('To add a new collection period, all other collections must have a end date'));
                    return;
                }