age-circs.sql: fix a few bugs found during testing