We can use `Versioned::get_latest_version` in this case to get the correct record, but the bug above is still an issue in framework.