fixed a bug in my IP logic exclusion conditional