Unable to add multiple events and actions bug fix.