Fix for old database format!