Fix reference to undefined variable data_bags.