-- Fix upgrade failure for already existing case types