Fixed bug with hash lookup when a property name is the same as a name of local variable. Closes #1431
merge issue-1433