[BUGFIX] Wrong disposal of version uid overlays

Relates: sboettger/gridelements2@ee9c188c04ba2f4ff90e9010cb4f5eee50fd15f2