Fixed a bug that caused the elemental result to bork.