Check for array on Collection. Fixes #1542.