Fix bug with array data return by getters during the merge process