policy-node.lua: fix type mismatch when comparing session item Ids

2 jobs for policy-node-fix in 58 seconds (queued for 1 second)