Fixing an issue when an event was deleted.  If the subelement the find was looking for was not found it would return a Nonetype and crash.  The simplest fix I could think of was a try/except but you could also use a bunch of if statements to check if the sub element was found.  Also change the if statement at the end to the more pythonic if not vhe.