Repaired a couple of notice level errors

There are a couple instances in this helper which gave off a a notice error when no events are excluded. They were both repaired with a couple quick conditionals