Issue #33: Database export failure. Very stupid bug fixed.