Fixed  bug on time entry page where time entry could be created with no task