You didn't tell us whether .id was a unique index for either a or b (or both)?