Made check for release EIP when the server doesn't have a public IP address.
Changed if test to use "and" to control flow.