Fixed bug in ignore table rewrite.