Fixed broken hourly rotateIndex in viewer (issue #130)