Herod ordered the death of boys two years old and younger, based on the information he had obtained from the Magi, implying that the Magi told him that the star began to appear two years before.
The Herod who met with the Magi was the father of Archelaus (Matt.2.22), who reigned from 4 B.C. to A.D. 6.
Oh, you are right. Still, if this calendar is correct, then the death of Herod would fit into it correctly, God always makes things clear (if we are willing to “show ourselves approved” and do our homework)