Added dynamic inclusion of bag columns when a bag is present in the search results