Prevent numeric strings from blowing up the contrast filter