When unioning tables, also carry over the status code from the first table.