Sounds as if you need a choke-input filter, or at least some sort of inductive reactance at the filter input. Also consider a metal oxide varistor across the filter input, to short out transient spikes. Thyristor/triac circuits generate spikes readily. And is the rated working voltage of your capacitors high enough?