Search for datalist by ID among siblings first so that we can have multiple datalists with
the same ID in the document but still use the nearest one. This is obviously a bad workaround.