[FIX] XQuery, node id: support integer overflow when comparing ids