added storiesAreLoaded function, filtering out stories that have more than one story in them