A fix in population pyramid. Also fixes #7205: CSV download should contain empty values as zero