Fixed some minor issues with arrays. Can't test yet. Need to wait till merging name node changes and fixing .length