IOMAD: allocate licenses to users doesn't list users.  the company::get_department_users function was returning the row id as the array keys and not the userid.  Fixes #123