Fixed a runtime error on the dashboard page when user is not a tasker