Fixed 0-duration sanity check error for sparse activities