s4-ldb: do more validation of idxptr lists