Adds a check to see whether the event is null before trying to extract a comment from it; ref #6878.
Merge branch 'master' of git://yorba.org/shotwell