Bug in insert where a parameter is not set if its a PK