The parameter fixedSum is pretty much useless here (don't know how it got here in the first place), the pricing engine uses pastFixings to calculate the fixedSum and the pricing engine takes care of it.