Adapted to the new database.
Database fix.