Fixed one off bug in ack numbering