fix for DB-2609 affected rows