Fixed issue with arrays in components