Fixed a bug of selectMany(). Added indexOf().