This is expected when the expiration of tracking code is not set to number of days. That will cause the tracking code to persist in the next visit even if the visitor arrives using a direct channel. If the expiration is set to visit, I will advise reaching out to Customer Care who will help you review the Marketing Channels and processing rules.