handle null study start and end date