Ensuring IP is a String