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

...s not a ReferenceSample for AnalysisSpecs.