Hash by String ID, not by User.
Check on State, not ObjectId.
Merge pull request #166 from rogerhu/hash_string

Hash by String ID, not by User.