Moved flushing outside of vbSetMeta().