Query for finding tasks for a given story.