Fix guilds

#1516

Don't know if line 276 in src/controllers/groups.js is necessary but I added it anyway, feel free to remove