The maps hashcode have collisions on similar sets. To alleviate this issue toString is used instead.