This fixes #7664.  It now replaces the old entry with the new one.  That means that it inserts a record if there is not one already.
Changed the version to alpha3