bugfix: fallback quality value in case of error (minimum value for maximizing measures and maximum value for minimizing values)