You’re comparing IDs - something clearly does no add up with the. Print the values to see what’s what.