fixes a bug in getCollapsedPanels() and getUnselectedPanels() when no panels are expanded/selected