When the compiler was being developed out of tree, I had open-coded the Elements macro in a couple places. It seems that I never went back and cleaned that up. This patch should fix that and the issue that Jakob reported. Does this fix the original problem?