Fixed bug that shows cadence/strides even no data avail.

Forgot { } around multiple statement in an if block...