BUGFIX: collision detection in contains for CTrie