try getSample on analysis before traversing to parent. check if sample is not a ReferenceSample for AnalysisSpecs.
Merge pull request #1325 from veroc/hotfix_upstream

try getSample on analysis before traversing to parent. check if sample i...