AIWander Patch Two

Fixed another possibility of a bug occurring, best to fix it now then wait until it happens.