Pq: duplicate key value violates unique constraint \"used_serials_pkey\" (after upgrade to v0.19.0)

An explination of this issue can be found here: