Bugfix: subtotal

This is a leftover from the "new xpath" patch; the
interface accessing variables changed.