title: IndexedDB object.put throwing ConstraintError
body: <p>I have some javascript which returns an object from IndexedDB, then update some properties, and then tries to 'update' (well, add really) using put, however this throws a Constraint Error and I can't figure out why. The chunk of javascript looks like this:</p>
  
  <pre><code>indexedDbReturnRecord(AddressID, 'AddressID', 'AddressStore', function(retObject) {
      retObject.DateMovedIn = getDate();
      var dataToUpdate = new Array();
      dataToUpdate.push(retObject);
      indexedDbAddObject(dataToUpdate, 'AddressStore', function () {
          noCss();
          $('#CompleteBTN .ui-btn-text').text("Complete").button('refresh');
      });
  });
  </code></pre>