Don't display empty <ul> when pages tree is empty
Nested records tree styling fixes