fix api search table meta to return empty array if tag doesn't exist