[OE-4006] - fix element type removal in migration