Fix filter_value_to_python