ActiveAE: fix determination when a stream is drained