Fix double-up on element ID

Man, it's weird because I keep having the strangest sense of
deja vu that I've fixed these bugs before.