Fixed actually comparing with the currently set attributes