Improved safety of timesheet assignment by adding an inner join.