Do not get elements if component type is measure

Because it will retrieve ALL used values which could
lead into a massive number of elements