Fix equalWithin corner cases