The missing acknowledgements count is reset in the wrong place. (dm)