Fixed issue with null packets being sent.