Fixed bug with demo database not opening.