Fixed time error detection for single-value case, switched time error warning to proper warnings.warn.