'Check version of versionable class and if version not
match repair version to correct version.
:param master_classes: Check and repair only master_class.
:type master_classes: list.'

@classmethod
def check_repair_versions(cls, master_classes=None):

    if (master_classes is None):
        master_classes = cls._find_versionable_baseclass()
    for base in master_classes:
        cls._check_repair_version_class(base)
