Fixed iteration error in hba1 task