Use ToList instead of ToArray for LogicControl function calls