Fix issue for insertions with string mapper