Fix parameter override of equals and operators == !=

This should be applied to all branches because the problem is everywhere.