Minor chage in filter_value_to_python