fix for getting Groups on initialisation of the DB