I have a car with Magneti Marelli cam sensor(very hard to modified cam sensor), 3 teeth.
Trigger log
http://www.vems.hu/files/DamirMuha/v3.3_n002476-2011-01-27-17.37.13.zip
primary trigger is 60-2 (trigger tooth=9 64deg before tdc).
So my suggestion is add code to sec trigger, if sec trigger is in range of min and max sectrigger angle then that pulse is ignored.
So in my case if vems ignore pulses in range 130-150deg before TDC i'll stay only one pulse per two crank rotaion(one per cam rotation).
Well it would be good for the modified Cosworth, which using 36-1 crank trigger wheel, but need to use the original 2-tooth secondary trigger!