Added check to ensure that start time and end time are not the same (#60).