Resolve rowid shadowing risk by checking that indexed table has an integer primary key
See https://www.gaia-gis.it/fossil/libspatialite/wiki?name=Shadowed+ROWID+issues for details