Server: Fix buggy evaluation of THING_ACTION id argument.