Few fixed for generic categorised hazard IF

This PR is related to #1296.

Fixed minor issues:
- Setting 'target_field' instead of 'affected_field' for styling.
- Applying the new minimum needs format

Please review @assefay @timlinux