Minor improvement for detecting BYE direction