EZP-21766: Added missing break that causes unneeded warnings

The missing break causes the default case to be executed on each iteration, causing a warning to be written even if it doesn't apply.

https://jira.ez.no/browse/EZP-21766

Cheers
:octocat: Jérôme