Fixed some Group Table API bugs.

Signed-off-by: Min Chen <minchnew@gmail.com>