Fixed problems with progress reporting

- We need to set the "group_name" field to NOT NULL and make sure we insert an emoty
  array to indicate "root" group; otherwise, the UNIQUE constraint will always accept
  new records if one of the fields is NULL..