Use the root_object instead of @line_item.

This ensures proper line item caching.