General fix for the BYE packet direction issue