Fixing max_deviation/offset_margins
There are two bug fixes:
- a parsing error when only one value was defined for offset_margins
- using the max_deviation default, even though the offset_margins property was already configured.
There are two bug fixes: