Fix error 500 on /dataset/groups/{id}

trentorise/dati.trentino.it#193