Fixed issues where was passing the edit controller the object and not the values from the array.