Search by hour added to the second stage of the algorithm.