Fix problem which is data of array model removed when $listOfFields was empty.