Fix #62 / use MERGE instead of INSERT to avoid PK constraints