public function scopeReadyForStatsCheck(Builder $query): Builder 	{ 		return $query->whereNotNull('external_id') 			->whereNull('canceled_at') 			->whereBetween('scheduled_at', [formatTimestamp(now()->subDays(setting('onesignal_stats_check_days'))), formatTimestamp()]) 			->where(static function (Builder $query): void { 				$query->whereNull('completed_at')->orWhereColumn('converted', '<', 'successful'); 			}); 	}