@dseries/{first,last}observedperiod.m: MATLAB R2009b compatibility fix

prod() does not accept logical arrays, need to explicitly convert to doubles.
parent ddda1e8e
Pipeline #1868 passed with stage
in 1 minute and 35 seconds