Fixed errors in array_list_set, now working correctly.