Fix api exluce reverse logic error