[Issue 8404] Fix for an assertion failure when olcDbRewrite is modified on a meta or asyncmeta database