Cleaning up tables with empty data