CiviRule triggers 2Xs
Trigger is Email is Added with condition is Primary. Both Home and Billing emails are inserted as Primary but then the non-default Location Type is updated to primary = 0. However the Civirule has completed for both Billing and Home before the Update to the email table happens. My fix was to add a second condition of AND Location Type = Home. https://civicrm.stackexchange.com/questions/38092/civirule-triggers-2xs/38134#38134