[OE-3107] Fixed typo and migration bug