Merge "Check primitive duration is positive for supported primitives"