[PMG] fix task completeness computation