Fixed unrefining non standard elements.