def correct_invalid_value(value, args):
    """This cleanup function replaces null indicators with None."""
    try:
        if value in [item for item in args["nulls"]]:
            return None
        if float(value) in [float(item) for item in args["nulls"]]:            
            return None
        return value
    except:
        return value