Fixed FilteredStream.Dispose() logic