Another fix for modified editor detection