|  | @@ -86,7 +86,7 @@ public final class InternalAggregations extends Aggregations implements Writeabl
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public InternalAggregations(StreamInput in) throws IOException {
 | 
	
		
			
				|  |  |          super(in.readList(stream -> in.readNamedWriteable(InternalAggregation.class)));
 | 
	
		
			
				|  |  | -        if (in.getVersion().before(Version.V_7_7_0)) {
 | 
	
		
			
				|  |  | +        if (in.getVersion().before(Version.V_7_8_0)) {
 | 
	
		
			
				|  |  |              in.readNamedWriteableList(PipelineAggregator.class); 
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          /*
 | 
	
	
		
			
				|  | @@ -103,7 +103,7 @@ public final class InternalAggregations extends Aggregations implements Writeabl
 | 
	
		
			
				|  |  |      @SuppressWarnings("unchecked")
 | 
	
		
			
				|  |  |      public void writeTo(StreamOutput out) throws IOException {
 | 
	
		
			
				|  |  |          out.writeNamedWriteableList((List<InternalAggregation>)aggregations);
 | 
	
		
			
				|  |  | -        if (out.getVersion().before(Version.V_7_7_0)) {
 | 
	
		
			
				|  |  | +        if (out.getVersion().before(Version.V_7_8_0)) {
 | 
	
		
			
				|  |  |              if (pipelineTreeForBwcSerialization == null) {
 | 
	
		
			
				|  |  |                  out.writeNamedWriteableList(emptyList());
 | 
	
		
			
				|  |  |              } else {
 |