fixup! add relation attribute to SelectAnalysis