Fix directory template (don't show persons if there is none)