Fix problem with duplicated futures because of side-effect swap function
Adding filter pipe handler type