Issues with Collisions

I keep running into an issue with colliders for objects, allow me to explain and maybe I can receive some help.

Basically I am running a script that checks if the player is touching the ground. I have an empty game object with the “Ground” tag, and all of the physical objects are children of it. This is my code for detecting the collision:

void OnCollisionEnter(Collision colliderInfo){
           
        if(colliderInfo.collider.tag == "Ground"){

        downForceGo = false;
        speed = 1000f;
        }

    }

And for the exit:

void OnCollisionExit(Collision colliderInfo){

        if(colliderInfo.collider.tag == "Ground"){
           
            downForceGo = true;

        }
    }

As you can see, I have a down force that I only want to apply to the object if it is in the air, aka not touching the ground at all.
My issue is, it still applies the downward force when going up a ramp, as soon as it hits the ramp, even though the ramp is a child on the empty gameObject with the Ground tag.

Any suggestions? I have already tried tagging the ramp itself with the ground tag. No other child objects have this issue.

I have solved the issue, please ignore this thread. I found that using an OnCollisionStay script solved my issue.