Fixed real dogs year algorithm.