Fix ids mixing between timesheet and project works

review915002