Fixes embedded type being rendered as persistent type sometimes because search modified global field object when it wasn't supposed to.