added deletion flag to collections and set this to YES when deleted.