luci-compat: fix evaluating `or()` and `and()` datatype expressions