fixup! fixup! add relation attribute to SelectAnalysis