check if story belongs to allowed story_types

[#68878544]