Detect start and end of a sprint or KOM segment

It would be nice if Zwift would only show upcoming sprint/KOM segments if the full segment is on the route. Should be possible for every event other than free rides.