HKWorkoutRoute provides incorrect course (heading)

On retrieval within an iOS 13 beta app of a route for a workout created by the Apple Watch OS 6 Beta, HKWorkoutRoute provides incorrect course property (heading) for locations after the user has reversed direction (i.e. a 180 degree turn) and remains incorrect thereafter. A separate iOS app, recorded concurrently, shows the corect heading. The error is roughly 180 degrees, so it looks like the turnaround has not been recognised and/or the computation of the new heading not performed correctly. The turns were always counter-clockwise.