The filing of the I-526 is the critical date. If the child is under 21 years of age when the I-526 is filed, he or she can remain included as a derivative beneficiary.
Your son will be able to apply for conditional permanent permanent residency. The filing of the petition I-829 becomes important showing how the funds were committed.