On safe post-selection for Bell tests with ideal detectors: Causal diagram approach