Fix bug lp:1334657

This is the same as https://code.launchpad.net/~arthru/ocb-addons/fix-1334657/+merge/224623
Shouldn't we check here if state == 'confirmed' and only in this case increase the offset? And I think we have to rebrowse the record to see any changes at all