Re-detect any document filetypes set to None after reloading