Fixed bug that occured if there was only 1 result file