Fix issue with search opening duplicate copy of file on result