Fixed attribute resolution logic in Analyzer