Issue #364: Some sections are always displayed in view mode, even if empty
Fixed another regression: selected phenotypes are no longer displayed in view mode.