changing cross-binding comparison from === to ==

Fix to address bug #811.