Fix for - collection endDate sometimes  is not stored in database when STOPPING collection