Try open stories (case insensitive) first
Updated hook logic to check for existing story links in issue body before processing.