Fix for empty collections in ProtobufPersistedData.