COCO Incremental issue. Taken from sreenu's commit in dg branch 0d49963d2b0eb43f14279d9497d3cfc35880a83c