making sure that if last_no_of_packets is not specified that it is set t...

that was a bug