Fix crash when choosing a null field for categorized style
Merge pull request #1627 from slarosa/categorized_style_crash

Fix crash when choosing a null field for categorized style