Replace String.valueOf with plain old casting so that we can properly check if address is null.