Using new story_hashes instead of story object ids.
Using index in msharedstory search.
Fixing Global shared stories by checking for missing story hashes properly.
Another bug found by @kyleniemeyer's story. a - b was supposed to be b - a.