fix story duplication issue

:point_up: :open_mouth: 

Seems we have to get rid of duplicates via `id` lookup rather than object comparison.
Why do we need this length check?