Fixes equality check in new_structures.

Fixes issue #62.