Out of curiosity, how did their cloud the trap? Was it magical? I'm not familiar with the spell, but I'm having a hard time imagining how a wisp of smoke would trigger a mechanical trap.
If it was magical, how was it set up such that they would trigger it in that form?