fix bug with group look up that prevented group discouting from working.