When you do not use a layer mask in a physics query it will use the Physics.DefaultRaycastLayers mask, which excludes the Ignore Raycast layer.
Check the layers of the gameObjects with colliders you are expecting to hit, do not place them on the Ignore Raycast layer.

I am still having problems with my query: