[security] Show open folder or selected database also for nodes without children