Fix handling of RESTful argument `add_fields`