Shrink hour bug

Shrink datetime at hour level wrong. compare was done on wrong property.