Fixed .equals() bug that prevented iterations from being assigend correctly