Fix documents tree built with ul-li elements