This is most likely due to the way the macOS version is being reported in Jamf. I'm not sure which one it is, but the binary will report one way and then Declarative Device Management (DDM) will report another. Needless to say, one of the two is adding a .0 to the end of the macOS version. So instead of getting 13.0 you may get 13.0.0. Which means that you need to test for both of these cases because an inventory update by the binary or an inventory update by DDM might flip the version.
So try something like this:

I don't have enough devices in a single instance to test fully, but I was able to detect my one 13.0 and 3 13.0.0 devices in the two instances I have access to.
This is most likely due to the way the macOS version is being reported in Jamf. I'm not sure which one it is, but the binary will report one way and then Declarative Device Management (DDM) will report another. Needless to say, one of the two is adding a .0 to the end of the macOS version. So instead of getting 13.0 you may get 13.0.0. Which means that you need to test for both of these cases because an inventory update by the binary or an inventory update by DDM might flip the version.
So try something like this:

I don't have enough devices in a single instance to test fully, but I was able to detect my one 13.0 and 3 13.0.0 devices in the two instances I have access to.
Also, one of our test engineers pointed out to me internally that we do have an open Product Issue (PI) for this behavior: PI110691
Also, there is this post on Jamf Nation that has a bit more information as well.