The check for output using maxn was changed to use the # operator in r23147, but the table was not an "array"-style table. Changed it to test for next(ids) instead, which works.