Now checking if all current values are deleted; if so issuing a REPLACE modification istead of individual DELETE and ADD.