Fix for OPENAM-2783 - review: CR-2158 Changing upgrade mechanism so it can cope with incorrect CTSv1 schema.