Fixes invalid maxZones value

Partially fixes https://bugzilla.mozilla.org/show_bug.cgi?id=904941 (need also #3878)