Using the API I see that the devices with a wrong status have the following:
"acctstoptime": "1549310728.29079",
"acctterminatecause": null,
Notice the "dot<number>" for acctstoptime.
"AcctTerminateCause" is null, because the session didnt terminate.