fixes detection of stream type of adaptation in DownloadRatioRule