[OE-3856] only verify _version tables if the main table exists in the database.