GORA-389: Document or List mapping change cause NPE in clearDirty()

Fix for GORA-389