Refactored nested_set_options arguments order