Added deleteByFragment and caught some other thing
Fixed all warnings in StoryDB!