AudioPlayhead::CurrentPositionInfo determining position in bar



I have a plugin that depends on syncing to the playhead position within a beat and the beat in the bar.

My question is about hosts that do not populate ppqPositionOfLastBar.

In that situation you only have ppqPosition to go on and any odd time sig changes e.g. 7/8 back to 4/4 will throw even the beat count off by 0.5 when counting beats in the 4/4 section.
Bar starts will be affected by any time sig change.

Wondering how people handle this situation ?

I read in the documentation the pro tools doesn’t populate this field so I am wondering if I am missing something.