added nil check to check if there are any investigators when trying to determine the dataset creator