Fixed issue with casting up to IEnumerable to List