Fix regression where only first new folder was placed in correct place on the list (#1489472)