Fix hash collisions in Monolingual

The way the hasher was used caused hash collisions.