A bug has been fixed in the Store.upgrade() method.