PubSUB gone wrong

It’s unclear, since the OP didn’t provide the definition to bearerPrefix. That is, it could be correct.

Moreover, large leeways or varying leeways can cause issues, so that is a possibility as well to check.