[OE-3987] migration fixes and view tweaks