Fixed bug 1844: export button should not show when no children are visible