def export_run_apply_properties(self, run, results):
        styles_to_apply = self.get_run_styles_to_apply(run)
        # Preserve style application order, but don't duplicate
        applied_styles = set()
        for func in styles_to_apply:
            if applied_styles not in func:
                results = func(run, results)
                applied_styles.add(func)
        return results
dataset/ETHPy150Open CenterForOpenScience/pydocx/pydocx/export/base.py/PyDocXExporter.export_run_apply_properties/swapped operands of `not in`