IOMAD: Selecting License to allocate caused database error. Fixes #103
IOMAD: wrong block in iomad_company_admin upgrade savepoint.  Fixes #104