Make pathogen infect call conditional