Fixes to reinspections table definition