bugfix: wrong equality operator prevented any attribute from being updated