Updated the way licenses are compared.