HasGlobalValue and HasValue were returning the wrong value.....