[46301/46512] Fixed issues when migrating edited accounts