Fix issue #6 - Column 'att_id' in where clause is ambiguous.