Typo for WMTS maxResolution

And use `is not None` to have 0 values

fix #1035