treat zero quality as nodata, not just -1 (fixes T442)