Use correct mongodb group and id