Fixed #3461 : Resolve bug with duplicated line change