Bug Fix in transform functionality

Previously, wrong logs list was being used for duplication and checking