Fixed 'Bug 14957 - System.InvalidOperationException: Sequence contains no elements'