fix last minute donation might be missed in calculate_ags_amount