CappedStorage: bugfix