CRM-12274

fixed upgrade for record type