Added verification of database schema version.