Small optimization in getForFields
Small optimization in getForFields

If the value is a list with only one element, make it a value
instead.

Patch by: Sverre Rabbelier

MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging