Issue with disabling badge repetition

SELECT 
    gs.user_id, 
    current_timestamp AS granted_at 
FROM 
    gamification_scores gs
WHERE 
    (:backfill OR gs.user_id IN (:user_ids))
    AND gs.date >= (current_date - interval '1 month')
    AND NOT EXISTS (
        SELECT 1 
        FROM user_badges ub
        WHERE ub.user_id = gs.user_id
        AND ub.badge_id = YOURIDOFBADGE
    )
GROUP BY 
    gs.user_id
HAVING 
    SUM(gs.score) > 11

I have only selected ‘Show on public badges page’ and ‘revoke daily’. The activator is recurrent daily.