Update memberof conditional to return integer (0 or 1) like the other conditional output filters
Updated memberof output filter to return integer

* origin/pr/12110:
  Update memberof conditional to return integer (0 or 1) like the other conditional output filters