Fix bug about nonexistent groups in groups column