value mapper: fixed insert query for invalid mappings