Add sanity check on profile version.