[2.5.x] Fixing version comparison for database schema