Fix secgroups exercise on postgres

Change-Id: I62dbe8742476a60d0608bf9664bacc3eebda6252