[fix] trimmed incomming attribute list for correct matching
Merge pull request #172 from dacrome/fix-attributes-list

[fix] trimmed incomming attribute list for correct matching