Fix bug introduced in last commit by tpltnt: exception when updating status

..based on ackdata.