Fix value switch in elements list for element type