BridJ: fix zero-valued enums matching (issue #502)