Fixed  export of searched documents to XLS