Corrected a mistaken caching assignment in the wrong function. Also, only cache the value if it makes sense to.
Corrected a mistaken caching assignment in the wrong function. Also, only cache the value if it makes sense to.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>

PKRoma/enyo,PKRoma/enyo,kustomzone/enyo,mcanthony/enyo,wikieswan/enyo,wikieswan/enyo,beni55/enyo,bright-sparks/enyo,soapdog/enyo,kustomzone/enyo,soapdog/enyo,beni55/enyo,mcanthony/enyo,bright-sparks/enyo,enyojs/enyo,enyojs/enyo