Fix comparison block in Tone Curve Filter.