When the Comptroller finds that he has failed to give any tax collector credit for commissions to which he is entitled, he is authorized to correct such error in his settlement with such collector; and if the account of such collector has been closed and such commissions have been paid into the Treasury, the Comptroller shall draw his warrant on the Treasurer for the amount thereof in favor of such collector.