Simplified last modified check solving double event emission on OSX