don't remove an entity if it is embedded in another one

4 jobs for patch_releases_4_8 in 14 minutes and 43 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test
passed #56295
docker linux64
linux64_ci

00:05:55

passed #56296
docker linux64
linux64_compatibility_ci

00:08:46

passed #56297
shared windows64
windows64_ci

00:11:12

passed #56298
shared windows64
windows64_msvc_ci

00:03:06