fix duplicate triggers in list

* resolves #189
* resolves #194
Merge pull request #203 from ngoldman/master

Fix duplicate trigggers in list after trigger/create overwrite