ooops left join was left joining a boat of topics

ooops left join was left joining a boat of topics

This results in a flood

diff --git a/jobs/scheduled/check_cakeday.rb b/jobs/scheduled/check_cakeday.rb
index 26a6170..047714a 100644
--- a/jobs/scheduled/check_cakeday.rb
+++ b/jobs/scheduled/check_cakeday.rb
@@ -57,7 +57,7 @@ module Jobs
 
       User
         .joins("LEFT JOIN user_custom_fields f1 ON f1.user_id = users.id AND f1.name = 'cakeday_notice'")
-        .joins('LEFT JOIN topics t ON f1.value IS NULL OR f1.value::int = t.id')
+        .joins('LEFT JOIN topics t ON f1.value IS NOT NULL AND f1.value::int = t.id')
         .where(
           'extract(DOY from users.created_at) between :from AND :to',
           from: yday - 1,

GitHub sha: 5d11f7a9