BUG: Fix non-trading advancement of trading day count and downsample.

Add a guard so that we do not advance trading day count or downsample
on non-trading days.