Fixed a bug in EnumerableExtension.