Use the #Array wrapper function instead of checking for Enumerable