Adapted filtering's pipeline to the packet queue.