Fixes a 1.x regression I added to equality testing