Added extra checks to wire_adv.

Attempting to fix http://errors.garrysmod.com/error/515391923/