Include previous instead of new value in doc array changes