Fixes issue with deleting content types that have content