Check for empty array in ExtensionMethod #292