Fix sanitize.sql for D7 tables