Correct off-by-one-token error when allocating attributes.