Fixed a bug which occurred while deleting an entry from the timesheet.