Yes, it can easily happen on a multi-nic system.

Try running the @IPADDRESS0 and @IPADDRESS1, @IPADDRESS2, @IPADDRESS3

and see what you get on that system.

Unfortunately I've not seen any good code to sort out the ACTIVE nic card natively.

You could try some PING and NSLOOKUP calls but that can be a pain too because if anything is off on WINS/DNS then the system may not ping it'self. You could shell and do IPCONFIG and grab it that way, but that too is a pain.