Ignore event times that are 0 when calculating task duration

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>