Fixed bug with 'open largest file' setting