fixed minor getPreviousIncludedTime bugs