[TASK] do not insert empty 'insert records' elements of referenced but deleted source elements