Cannot revoke badge from user

I’m running self-hosted Discourse 3.6.0.beta1-dev, and one user asked me to revoke the “First Like” badge from them. I’ve been trying for days to do this, but every time I revoke the badge it comes back within a day. I have followed instructions from this topic. Every time the badge comes back, it is always for the same post, and shows up as if it was granted many days ago (which is when the user originally got the badge).

Here’s a screenshot of me hopelessly trying to revoke the badge:

I also upgraded my Discourse instance 3 days ago, but the issue kept repeating even after that. What could be the problem here?

I believe this is because the job to grant badges will run daily. The badge is given because the user liked that post.

You’ll likely have to remove the like on that post from that user, probably using the Rails console. Or perhaps, increase the post undo action window mins setting temporarily, unlike the post, then revert the setting.

The user already removed the like a couple of days ago, but the badge keeps being added for the same post. They even tried liking another post instead, but that didn’t change the post that the badge appears for. Do you know which job is doing this?