Unity3D: Entering a trigger disables a few bools for no reason

I’m trying to make it so when an object enters a collider with the tag “Down” a single boolean turns false, but the problem is that more than one booleans(canGoUp, canGoLeft, canGoRight) are turning false for no reason, here’s my code.

void OnTriggerEnter(Collider col)
    {
        if(col.gameObject.tag == "Up")
        {
            canGoUp = false;
        }
        if (col.gameObject.tag == "Down")
        {
            canGoDown = false;
        }
        if (col.gameObject.tag == "Left")
        {
            canGoLeft = false;
        }
        if (col.gameObject.tag == "Right")
        {
            canGoRight = false;
        }

    }

    void OnTriggerExit(Collider col)
    {
        if (col.gameObject.tag == "Up")
        {
            canGoUp = true;
        }
        if (col.gameObject.tag == "Down")
        {
            canGoDown = true;
        }
        if (col.gameObject.tag == "Left")
        {
            canGoLeft = true;
        }
        if (col.gameObject.tag == "Right")
        {
            canGoRight = true;
        }
    }

Here are two objects compared to each other, the “Up” one works but the “Down” one doesn’t.

Apparently there were some other objects in the scene using those tags and they were colliding with the object, deleted them and that fixed it.