Fix ping removal clause

Previously it was using inverse logic resulting in negative value -> logic
fail.