Fixed Utils.GetValueFromName() that would return an error
Moved some code in Utils.GetValueFromName()