Refs #22047; corrected success check when calling getLatestVersionURL and moved the check for versioningInProgress even before geting the versioning browser view