Tiny fix to prevent error when groups database is empty.