Fixed problem when no leads

Now goes to dashboard... Which does not exist by the way