Only allow creation of new data if the database is empyt (there are no sessions, as we have those anyway). This is a work-around for the bug with MySQL