On the optical counterparts of the X-ray sources in the Orion Nebula