integrity.c: correctly validate minimum integrity table size