Refs #22047; assign false instead of deleting the value of versioningInProgress in order to avoid persistenmapping error; call set of versioning only once