Fixed Bug 443769 - Bogus error caused by resolving a variable twice