Change: Fix laterthan test

The or() function returns a string, not a boolean.
https://docs.cfengine.com/latest/reference-functions-or.html
Merge pull request #1960 from nickanderson/fix_laterthan_test

Change: Fix laterthan test