Fixed navigation error when no lead form is set up yet