Fix pending detection for change groups