OnTriggerEnter2D with 2 differents colliders,OnTriggerEnter2D with 2 colliders

I’m new to Unity, and I’m trying to make a simple platformer 2D. My problem is that I’m using two differents colliders for my player (1 box collider 2D for the head, and 1 circle collider 2D for the legs, to be able to crouch), and so when I’m trying to detect a collision with an object, I detect two differents collisions at the same time. Is it possible to select or disable a specific collider during the collision to solvethis issue?

I found out that using IsActiveAndEnable can solve my problem as the object the player collide with is destroyed after the collision, so it is equal to false.