fixed a wrong column name in 'groups'.

"groups" ->
"groupid",