Analysis: Days before password expires

Good day BigFixers!

Just want to check your inputs for the analysis that i tried to used, my goal is to determine the days before the user’s password will expire.:

Q: preceding text of first “,” of (((maximum password age of security database) - (password age of users of logged on users)) as string)
A: -260 days
T: 0.043 ms

Some of my machines are getting the error in below after enabling this analysis:

“Singular expression refers to nonexistent Object.”

My target machines are Windows 10 machines.

Thank you in advance and for your usual support