fixes to selectMany and generateWith*Time