Deal with malformed IPs for log_action = block