ActiveAE: fix caching for streams
Merge pull request #4902 from FernetMenta/buf

ActiveAE: fix caching for streams