Fixed double evaluation for `eq`