Bug fix w/ SQL export preview.