Added error message when an employee with no contract searches for activities