Revert 301, fix issue in legend template
Merge pull request #302 from geoadmin/dev_legend_null_fields

Revert 301, fix issue in legend template