I have 2 arrays of objects. The first array has 12 entries with 2 properites date and cost(all are zero). The other array only has 5 entries with the same 2 properties date