The amount of the direct grant may be subject to a reduction fixed at the time of the last payment, taking into account the total amount of public financial aid granted, the ceiling mentioned in article 222-21 and the total amount of the appropriations allocated to the direct grants.