problem when comparing LAST varbind in a list