Fix IP ranges