Fix bug when results folder doesn't exist