Return previously retrieved atomic value

Also make sure we initialize these serials with 1, so we don't use 0 as
a serial number for these.