Fixes child ordering problem