acc: fixed computation of extra accounting fields

- introduced in previous commit
- reported by and credits for troubleshooting to Anthony Messina