Yep, doing the compare for number of streams first is a good idea.