Filter out tables and make printing conform to mercury convetion