To troubleshoot this issue, I'd recommend starting by removing the ugly from the chain and going straight in to the M10. Test on a similar decibel level sound source.
If you don't get the clicks, try gently moving the CAFS cables around and rotating/wiggling the jack in the plug while monitoring the recording with headphones out of the M10.
If you can't get the clicks to happen with that combination, put the ugly back in to the chain and repeat the tests, moving all of the new cables and jacks gently in all directions.