Fix the check of tsn_enabled.