[FIX] project_timesheet: don't trigger write if there is nothing to write

Triggering an empty write could break constraint (can not update past timesheet) (opw 606963)