Fixed bug in findagw where 0x0 was considered an invalid value