Optimises Emmet to return the first child if its the only child of the root