dynamically added IPs removal code incorrectly removed static banned IPs

The selection criteria didn't exclude the zero timestamp, so provided the static IP
was in the path of tree then it could of been removed.