aheadWorks Gift Card adds its entry at the end of a totals array, and its «value» is incorrect (always 0)

As a workaround, I have updated my totals calculation algorithm.