Added rescue block in UpgradeAdjustments migration to catch issues where calculators no longer exist

Fixes #4274
Fixes #4278