Fixes an issue where duplicating a photo without an associated event would generate a soft assertion. Closes #6810.
Merge branch 'master' of git://yorba.org/shotwell