Fix issue where getV4VCAmount could cause a crash