Corrected order of adding items when doing expand